mobilePurchaseCreate
Type
command
Summary
Create a new purchase.
Syntax
mobilePurchaseCreate <productID>
Description
Use mobilePurchaseCreate to create a new purchases.
The command mobilePurchaseCreate is used to create a purchaseId for a particular productId.
The productId is the identifier of the in-app purchase you created in iTunesConnect/Market Place and wish to purchase.
Parameters
Name | Type | Description |
---|---|---|
productID | The identifier of the requested item. |
Examples
mobilePurchaseCreate theProductId
put the result into thePurchaseId
Related
command: mobilePurchaseSet, mobileDisablePurchaseUpdates, mobilePurchaseVerify, mobileRestorePurchases, iphoneRequestProductDetails, mobilePurchaseSendRequest, mobilePurchaseConfirmDelivery, mobileEnablePurchaseUpdates
function: mobilePurchaseState, mobilePurchaseError, mobileCanMakePurchase, mobilePurchaseGet, mobilePurchases
message: purchaseStateUpdate
Compatibility and Support
Introduced
LiveCode 5.0.1
OS
ios
android
Platforms
mobile